<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>箭头函数</title>
		<script>
			var ar=[1,2,3,4,5,7,8,9,10,11];
			
			const a1=ar.filter(x=>{
				return x%2==0;
			});
			alert(a1);
			//Map
		</script>
	</head>
	<body>
	</body>
</html>